<?php

namespace app\admin\controller;

class Logout
{
    public function index()
    {
        session(config('admin.session_admin'), null);
        return redirect(url('login/index'));
    }
}